import request from '@/utils/request'
import axios from 'axios'
import qs from 'qs'

export function getDataList(data) {
    return request({
        url: '/Enterprise/GetDataList',
        method: 'post',
        data:data
  })
}
export function calculateCost(data) {
    return request({
        url: '/Enterprise/CalculateCost',
        method: 'post',
        data:data
  })
}
export function calculateCarCost(data) {
    return request({
        url: '/Enterprise/CalculateCarCost',
        method: 'post',
        data:data
  })
}
//跨群奖金
export function updateSecondmentFeeBody(data) {
    return request({
        url: '/Enterprise/UpdateSecondmentFeeBody',
        method: 'post',
        data:data
  })
}
//跨群删除表身
export function deleteBody(data) {
    return request({
        url: '/Enterprise/DeleteBody',
        method: 'post',
        data:data
  })
}

export function updateBorrowDetail(data) {
    return request({
        url: '/Enterprise/UpdateBorrowDetail',
        method: 'post',
        data:data
  })
}
export function updateSponsorshipFee(data) {
    return request({
        url: '/Enterprise/UpdateSponsorshipFee',
        method: 'post',
        data:data
  })
}
export function deleteHeadAndBody(data) {
    return request({
        url: '/Enterprise/DeleteHeadAndBody',
        method: 'post',
        data:data
  })
}
export function updatePersonnelloanBorrowDetail(data) {
    return request({
        url: '/Enterprise/UpdatePersonnelloanBorrowDetail',
        method: 'post',
        data:data
  })
}
export function getCountByPersonnelloanNo(data) {
    return request({
        url: '/Enterprise/GetCountByPersonnelloanNo',
        method: 'post',
        data:data
  })
}
